#ifndef LASERCAMERACONFIGVIEW_H
#define LASERCAMERACONFIGVIEW_H
#include "../CommunicateDelegate/gSoapFoundation/soapStub.h"

#include <QDialog>
class CommunicateNormalDelegate;
namespace Ui {
class LaserCameraConfigView;
}

class LaserCameraConfigView : public QDialog
{
    Q_OBJECT

public:
    explicit LaserCameraConfigView(int styleId, CommunicateNormalDelegate *communicateNormalThreadIn,
                                   QWidget *parent = 0);
    ~LaserCameraConfigView();

    void initialDisplayStyle(int styleId);

public slots:
    void showView_slot();

private slots:
    void timeOutSlot();

    void on_forward_Btn_clicked();

    void on_pushButton_reconnect_clicked();

    void on_pushButton_modifyParameter_clicked();

    void on_pushButton_setWork_clicked();

    void on_pushButton_setStopWork_clicked();

    void on_button_recordPoint_clicked();

    void on_button_calculate_clicked();

    void on_pushButton_setJobId_clicked();

    void on_moveToPoint_Btn_pressed();

    void on_moveToPoint_Btn_released();

    void on_button_moveToSetPoint_pressed();

    void on_button_moveToSetPoint_released();



    void on_pushButton_modifyTrackConfig_clicked();

    void on_pushButton_modifyBufferMove_clicked();

    void on_tabWidget_tabBarClicked(int index);

signals:
    void moveToCoordinatePointPress(MoveParameter movePoint);


    void moveToCoordinatePointRelease();

private:
    Ui::LaserCameraConfigView *ui;
    QTimer *timer;
    CommunicateNormalDelegate *communicateNormalThread;
    LaserCameraStatusInfo cameraStatusInfo;
    LaserCameraFrameInfo frameInfo;
};

#endif // LASERCAMERACONFIGVIEW_H
